﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RapidWebDev.Web
{
    public partial class ErrorHandler : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string error = Request.QueryString["error"];
            if (string.IsNullOrEmpty(error))
                this.errMsg.Text = "用户发生错误";
            else
                this.errMsg.Text = error;
        }
    }
}
